#ifndef __BASICPACKET_HPP_
#define __BASICPACKET_HPP_

#include "Session.hpp"
#include "../../SpeedbrickBourik/system/event/EventBase.hpp"

	namespace network
    {
        namespace buffer
        {
            class BasicBuffer;
        }

        namespace packet
        {

			class BasicPacket :
				public Event::EventBase
            {
            public:

                virtual void handle(session_ptr _session, buffer::BasicBuffer& _packet) = 0;
                BasicPacket(boost::uint16_t _id);

                virtual ~BasicPacket();

            };

        } //	namespace packet
    } //  // namespace network

#endif // __BASICPACKET_HPP_
